import path from 'node:path'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import UnoCSS from 'unocss/vite'
import AutoImport from 'unplugin-auto-import/vite'

export default defineConfig({
  plugins: [ 
    vue(),
    UnoCSS(),
    AutoImport({
      imports: ["vue"]
    })
  ],
  resolve:{
    alias:{
      '@': path.join(__dirname,'src'),
      '~': path.join(__dirname,'src/assets')
    }
  }

})
